const { Switch } = require("../lib/types");

module.exports = {
    name: "ngx_http_sub_module",
    map: {
        sub_filter: [String, , ["http", "server", "location"]],
        sub_filter_last_modified: [Switch, false, ["http", "server", "location"]],
        sub_filter_once: [Switch, true, ["http", "server", "location"]],
        sub_filter_types: [String, "text/html", ["http", "server", "location"]]
    }
};